﻿using System;

namespace Smart.Navigation
{
    /// <summary>
    /// ビュー通知イベント引数
    /// </summary>
    public class ViewNotifyEventArgs : EventArgs
    {
        private readonly object msg;
        private readonly object[] paramters;

        /// <summary>
        /// メッセージ
        /// </summary>
        public object Msg
        {
            get { return this.msg; }
        }

        /// <summary>
        /// パラメータ
        /// </summary>
        public object[] Paramters
        {
            get { return this.paramters; }
        }

        /// <summary>
        /// コンストラクタ
        /// </summary>
        /// <param name="msg">メッセージ</param>
        /// <param name="paramters">パラメータ</param>
        public ViewNotifyEventArgs(object msg, object[] paramters)
        {
            this.msg = msg;
            this.paramters = paramters;
        }
    }
}